<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<title>${params.titlename}</title>

<link rel="stylesheet" type="text/css" href="/css/base/${params.prefixs}bodyhtml.css" />
<link rel="stylesheet" type="text/css" href="/css/base/kkpager.css" />
<script type="text/javascript" src="/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="/easyuii/jquery.easyui.min.js"></script>
<link rel="stylesheet" type="text/css" href="/easyuii/themes/gray/easyui.css">
<link rel="stylesheet" type="text/css" href="/easyuii/themes/icon.css">
<script type="text/javascript" src="/js/base/util.js"></script>
<script type="text/javascript" src="/js/base/kkpager.js"></script>
<script type="text/javascript" src="/js/layout/respond.min.js"></script>
<script type="text/javascript" src="/js/layout/html5shiv.min.js"></script>
<script type="text/javascript">
$(function(){
	kkpager.generPageHtml({
		pno : '${page.pageNo}',
		// 总页码
		total : '${page.totalPages}',
		// 总数据条数
		totalRecords : '${page.totalItems}',
		// 每页显示数据 
		currRecods : '${page.pageSize}',
		// 链接前部
		hrefFormer : '${page.completeRequestUrl}',
		// 链接尾部
		hrefLatter : '',
		getLink : function(n,m) {			
			return Urlreplace(this.hrefFormer) + "&pageNo="+n+"&pageSize="+m;
		}
	});
	
	jQuery("#allcheck").click(function(){		
		jQuery("input[name=id]").prop("checked",jQuery("#allcheck").prop("checked"));
	});
	
});

</script>